package com.mao.dao;

import com.mao.pojo.Teacher;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * Author: Administrator
 * Date: 2021/5/18 16:14
 * Description:
 */
public interface TeacherMapper {

    // 获取老师
//    List<Teacher> getTeacher();

    // 获取指定老师下的所有学生及老师的信息
    Teacher getTeacher(@Param("tid") int id);

    Teacher getTeacher2(@Param("tid")int id);
}
